package com.achievement.mappings.author;

import com.achievement.domain.bo.author.MedicineAuthorBO;
import com.achievement.domain.dto.author.MedicineAuthorDTO;
import com.achievement.domain.entity.author.MedicineAuthorEntity;
import com.achievement.domain.vo.author.MedicineAuthorVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface MedicineAuthorMapping {

    MedicineAuthorVO dto2Vo(MedicineAuthorDTO dto);

    MedicineAuthorBO dto2Bo(MedicineAuthorDTO dto);

    MedicineAuthorEntity dto2Entity(MedicineAuthorDTO dto);

    MedicineAuthorDTO vo2Dto(MedicineAuthorVO vo);

    MedicineAuthorVO bo2Vo(MedicineAuthorBO bo);
    MedicineAuthorEntity bo2Entity(MedicineAuthorBO bo);

    MedicineAuthorDTO entity2Dto(MedicineAuthorEntity dto);

    MedicineAuthorVO entity2Vo(MedicineAuthorEntity dto);

    MedicineAuthorBO entity2Bo(MedicineAuthorEntity dto);

}
